/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package remuneraciones;

/**
 *
 * @author 11714291-4
 */
public class NoImponible implements Parametros {
    int cf,imponible;

    public NoImponible(int cf, int imponible) {
        this.cf = cf;
        this.imponible = imponible;
    }
    
    public int cargafamiliar(){
       
     if(imponible <=170000)
         return cf*6500;
     else if(imponible <=293624)
         return cf*4830;
     else if(imponible <=457954)       
        return cf*1526;
     else
         return 0;
    }
    
    public int sumaNoImponible(){
    return this.cargafamiliar()+colacion+movilizacion;
    }
    
}
